package com.zjw.video.custom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjw.video.common.entity.FileEntity;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

public interface FileService extends IService<FileEntity> {
    FileEntity upload(MultipartFile file, String path);

    void download(String path, String name, HttpServletRequest request, HttpServletResponse httpServletResponse);
}
